package xdu.lz.stage2_design_pattern.chapter16_two_phrase_terminated_pattern;

import java.io.IOException;

public class AppServerClient {
    public static void main(String[] args) throws IOException, InterruptedException {
        AppServer server = new AppServer(13345);
        //开启线程,监听客户端，并分配客户端的连接给每个线程处理
        server.start();

        Thread.sleep(10_000);
        server.shutdown();
    }
}
